import http from '@/utils/http';

export function login(data: { username: string; password: string }) {
  return http({
    url: '/adminLogin.do',
    method: 'post',
    data: data,
  });
}
// 获取学生成绩列表
export function getAllStudentScore() {
  return http({
    url: `/getScoreList.do`,
    method: 'get',
  });
}
// 成绩列表里头部各项数据
export function getVariousResultData() {
  return http({
    url: '/getScoreResultData.do',
    method: 'get',
  });
}
// 获取所有专业
export function getAllProfessional() {
  return http({
    url: '/getAllProfessional',
    method: 'get',
  });
}
